package com.holic.spring.custom.fetcher;

import graphql.schema.DataFetcher;
import graphql.schema.DataFetchingEnvironment;

/**
 * @ClassName DoSomeThing
 * @Description
 * @Author Neil
 * @Date 2024/11/12 17:09
 * @Version V1.0
 **/
public class DoSomeThing implements DataFetcher<String> {
    @Override
    public String get(DataFetchingEnvironment environment) throws Exception {
        return "你好！";
    }
}
